While it makes sense to remove the timeout in every other case, restart it
if the pointer is hovering over the close button to make sure the overlay
will be hidden afterwards.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/683
}
_idleHideOverlay() {
- this._idleHideOverlayId = 0;
+ if (this.closeButton['has-pointer'])
+ return GLib.SOURCE_CONTINUE;
- if (!this._windowClone['has-pointer'] &&
- !this.closeButton['has-pointer'])
+ if (!this._windowClone['has-pointer'])
this._animateInvisible();
+ this._idleHideOverlayId = 0;
return GLib.SOURCE_REMOVE;
}